<template>
    <div class="headSty flex_btn">
        <h5>户邦后台管理系统</h5>
        <div @click="goOut" class="menuClorl">退出登录</div>
        <!-- <button @click="demo">测试按钮</button> -->
    </div>
</template>

<script setup lang="ts">
import router from '../../router';
import { useStore } from "@/pinia/index";
const store = useStore();
const goOut = function () {
    router.push('/login')
}
const demo = function () {
    console.log(store.token)
}
</script>

<style scoped>
.headSty {
    width: 100%;
    height: 60.9px;
    background-color: #1f2128;
    padding: 0 20px;
    color: #fff;
}
</style>